#if !defined(AFX_DataSourcePage_H__56B78632_CC00_11D2_A902_DDAB7D8DE250__INCLUDED_)
#define AFX_DataSourcePage_H__56B78632_CC00_11D2_A902_DDAB7D8DE250__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "configfile\mcf_ipqd_type.h"
#include "afxwin.h"
// DataSourcePage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDataSourcePage dialog

class CDataSourcePage : public CPropertyPage
{
	DECLARE_DYNCREATE(CDataSourcePage)

// Construction
public:
	CDataSourcePage();
	~CDataSourcePage();

	enum { IDD = IDD_DATASOURCE };
	CComboBox	m_cboVendor;
	CComboBox	m_cboType;
	CComboBox	m_cboEquipment;
	CEdit m_edtName;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

protected:

	virtual BOOL OnInitDialog();
	DECLARE_MESSAGE_MAP()
private:
	MCFDataSourceInfo invalidDataSource;
	void InitInvalidDefn();

public:
	void TransferFromDataSource (MCFDataSourceInfo* pDSI);
	void TransferToDataSource (MCFDataSourceInfo *pDSI);
	void ClearAllInfo();
};

#endif 